package com.runvp.service.biz.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import com.runvp.common.annotation.Excel;
import com.runvp.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 物联网卡充值记录对象 biz_iot_card_renew
 *
 * @author runvp
 * @date 2023-04-08
 */
@ToString
@Getter
@Setter
public class BizIotCardRenew extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 租户标识 */
    @Excel(name = "租户标识")
    private Long tenantId;

    /** 设备ID */
    @Excel(name = "设备ID")
    private Long deviceId;

    /** 设备号 */
    @Excel(name = "设备号")
    private String deviceCode;

    /** 充值卡号 */
    @Excel(name = "充值卡号")
    private String rechargeNo;

    /** 充值人 */
    @Excel(name = "充值人")
    private String rechargeUser;

    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date expireTime;

    /** 有效期限(年) */
    @Excel(name = "有效期限(年)")
    private Integer effectiveDuration;

}
